﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace Logistics.Model
{
    /// <summary>
    /// 审批历史表
    /// </summary>
    public  class ApprovalHistory : Entity<int>
    {
       /// <summary>
        /// 审批节点ID
        /// </summary>
        public   int NodeId { get; set; }
        /// <summary>
        /// 审批活动ID
        /// </summary>
        public  int ActivityId { get; set; }
        /// <summary>
        /// 审批流程ID
        /// </summary>
        public  int ProcessId { get; set; }
        /// <summary>
        /// 配置流程编码
        /// </summary>
        public  string  ProcessCode { get; set; }
        /// <summary>
        /// 审批角色部门
        /// </summary>
        public  string RoleSectorw { get; set; }
        /// <summary>
        /// 审批角色ID
        /// </summary>
        public  int ApprovalRoleId { get; set; }
        /// <summary>
        /// 下一步审批角色ID
        /// </summary>
        public  int NextApprovalRoleId { get; set; }
        /// <summary>
        /// 审批人ID
        /// </summary>
        public  int ApprovalUserId { get; set; }
        /// <summary>
        /// 下一步审批人ID
        /// </summary>
        public  int NextApprovalUserId { get; set; }
        /// <summary>
        /// 使用流程角色ID
        /// </summary>
        public  int ProcessRoleId { get; set; }
        /// <summary>
        /// 判断条件ID
        /// </summary>
        public  int JudgmentId { get; set; }
        /// <summary>
        /// 实际审批人
        /// </summary>
        public  string ApprovalUser { get; set; }
        /// <summary>
        /// 审批意见
        /// </summary>
        public  string ApprovalOpinion { get; set; }
        /// <summary>
        /// 实际审批状态
        /// </summary>
        public  char Condtion { get; set; }
        /// <summary>
        /// 审批时间
        /// </summary>
        public  DateTime ApprovalTime { get; set; }
        /// <summary>
        /// 审批活动记录创建人
        /// </summary>
        public  string ActivityCreator { get; set; }
        /// <summary>
        /// 审批活动记录创建时间
        /// </summary>
        public  DateTime ActivityCreateTime { get; set; }
        /// <summary>
        /// 审批历史记录创建时间
        /// </summary>
        public  DateTime HistoryCreateTime { get; set; }
    }
}
